<h1>权限新增</h1>

<% form_for([:admin , @permission],:html=>{:class => "form"}) do |f| %>
  <%= f.error_messages %>

  <table class="table">
    <tbody>
      <tr class="odd">
        <td width="60px">名称</td>
        <td width="200px">    <%= f.text_field   :name %></td>
        </tr>
        <tr>
        <td width="60px">说明</td>
        <td width="200px"> <%= f.text_field :description %></td>
        <td width=""> </td>
      </tr>
      <tr>
        <td width="60px"></td>
        <td width="200px">   <%= f.submit 'Create'  ,:class => "button"%></td>
        <td width=""> </td>
      </tr>
    </table>
<% end %>

<%= link_to '返回', admin_permissions_path %>